package inventory.entity.po;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public class NoticePo extends Model<NoticePo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "notice_id", type = IdType.UUID)
    private String noticeId;
    private String noticeContext;
    private String launcher;
    private Date launchTime;
    private String state;
    private String username;
    private String role;
    private String roleId;

    @Override
    public String toString() {
        return "NoticePo{" +
                "noticeId='" + noticeId + '\'' +
                ", noticeContext='" + noticeContext + '\'' +
                ", launcher='" + launcher + '\'' +
                ", launchTime=" + launchTime +
                ", state='" + state + '\'' +
                ", username='" + username + '\'' +
                ", role='" + role + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeContext() {
        return noticeContext;
    }

    public void setNoticeContext(String noticeContext) {
        this.noticeContext = noticeContext;
    }

    public String getLauncher() {
        return launcher;
    }

    public void setLauncher(String launcher) {
        this.launcher = launcher;
    }

    public Date getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Date launchTime) {
        this.launchTime = launchTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
